ExamPlay Light Logo
Log ind

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 11 - No. 36)

When using a linear search to find an item in an unsorted list, what is the worst-case scenario?
The item is found at the beginning of the list.
The item is not in the list.
The item is found in the middle of the list.
The item is found at the end of the list.

Forklaring

The worst case is when the item is not in the list, requiring the algorithm to check every item.

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc